import { Entity, Column, PrimaryGeneratedColumn, ManyToOne, JoinTable, PrimaryColumn, CreateDateColumn, UpdateDateColumn } from 'typeorm';
import { DefaultEntity } from '@type/common';

@Entity()
export class ProblemSummaryEntity extends DefaultEntity{
    @PrimaryColumn({
        comment: 'id',
        type: 'uuid'
    })
    id: string;
    @Column({
        type: 'tinyint',
        comment: '状态0：解决，1：为解决',
        default: 0
    })
    isSolve: 0|1;

    @Column({
        type: 'varchar',
        length: 250,
        comment: '微信标识符',
        nullable: false
    })
    wechatId: string;
}